class CreateChrclasses < ActiveRecord::Migration
  def self.up
    create_table :chrclasses do |t|
       t.column :name, :string
    end

    Chrclass.create :name=>"Warrior"
    Chrclass.create :name=>"Rogue"
    Chrclass.create :name=>"Priest"
    Chrclass.create :name=>"Mage"
    Chrclass.create :name=>"Druid"
    Chrclass.create :name=>"Hunter"
    Chrclass.create :name=>"Warlock"
    Chrclass.create :name=>"Paladin"
    Chrclass.create :name=>"Shaman"

  end

  def self.down
    drop_table :chrclasses
  end
end
